﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 8/25/2009
 * Time: 10:02 AM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using Miming.Model.Dao.Interface;

namespace Miming.Model.Dao
{
	/// <summary>
	/// Description of DaoFactory.
	/// </summary>
	public class DaoFactory
	{
		public const int NHIBERNATE = 0;
		
		public DaoFactory()
		{
		}
		
		public static DaoFactory GetDaoFactory(int type)
		{
			switch (type) {
				case NHIBERNATE:
					return new NHibernateDaoFactory();
				default:
					throw new NotSupportedException();
			}
		}
		
		public virtual IShippingMethodDao CreateShippingMethodDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ISalesOrderDao CreateSalesOrderDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IToDoDao CreateToDoDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IWorkersCompensationDao CreateWorkersCompensationDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IEmployeeDao CreateEmployeeDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IAccountDao CreateAccountDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IBillDao CreateBillDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IJobTypeDao CreateJobTypeDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ICustomerMessageDao CreateCustomerMessageDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ICustomerTypeDao CreateCustomerTypeDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IPriceLevelDao CreatePriceLevelDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ICustomerDao CreateCustomerDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IPaymentMethodDao CreatePaymentMethodDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ITermsDao CreateTermsDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IClassDao CreateClassDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IVendorTypeDao CreateVendorTypeDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IBillingRateLevelDao CreateBillingRateLevelDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ISalesTaxCodeDao CreateSalesTaxCodeDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IUnitOfMeasureDao CreateUnitOfMeasureDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual ICompanyDao CreateCompanyDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IItemReceiptDao CreateItemReceiptDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IUserDao CreateUserDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IPurchaseOrderDao CreatePurchaseOrderDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IOtherNameDao CreateOtherNameDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IModuleDao CreateModuleDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IItemDao CreateItemDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IVehicleDao CreateVehicleDao()
		{
			throw new NotImplementedException();
		}
		
		public virtual IVendorDao CreateVendorDao()
		{
			throw new NotImplementedException();
		}
	}
}
